<?php
/**
 * 用户中心资料报名管理文件
 *
 * @author		Arthur(ArthurXF@gmail.com)
 * @copyright	(c) 2006 by bizeway.com
 * @version		$Id$
 * @package		ArthurXF
 * @subpackage	productrecord
 */
require_once('../config/config.inc.php');
require_once("../class/productrecord.class.php");
require_once ('../../useradmin/checklogin.php');
$objWebInit = new productrecord();
//数据库连接参数
$objWebInit->setDBG($arrGPdoDB);
//smarty参数
$objWebInit->arrGSmarty = $arrGSmarty;
//翻页参数
$objWebInit->arrGPage = $arrGPage;
$objWebInit->db();

// 取得文章信息
$arrData = $objWebInit->getInfo(intval($_REQUEST['id']));

//判断是否有权限
if($arrData['user_id'] != $_SESSION['user_id']) exit('非法操作，你的IP已经被记录！');

// 输出到模板
$arrMOutput["smarty_assign"]['arrData'] = $arrData;
$arrMOutput["smarty_assign"]['arrGState'] = $arrGState;
$arrMOutput["smarty_assign"]['strPage'] = $strPage;
$arrMOutput["smarty_assign"]['arrGState'] = $arrGState;
$arrMOutput["smarty_assign"]['MAIN'] = $arrGSmarty['adminu_main_dir'].'detail.html';
$objWebInit->output($arrMOutput);
?>